<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title th:text="${session.title}">123</title>
    <link th:replace="common/header"/>
    <link rel="stylesheet" th:href="@{/css/ace-skins.min.css}"/>
    <link th:replace="common/tip"/>
</head>
<body class="navbar-fixed">
<div th:replace="common/top"></div>
<div class="container-fluid main_bg" id="main-container">
    <a id="menu-toggler" href="#"><span></span></a>
    <div th:replace="common/menu"></div>
    <div id="main-content" class="clearfix">
        <div id="page-content" class="clearfix">
            <div th:replace="common/title"></div>
            <h3 class="header smaller lighter blue"><em class="icon-list"></em>热身赛列表</h3>
            <form class="form-horizontal" th:object="${footYysSearchForm}" method="post"
                  th:action="@{/foot/footYys/search}" name="form" th:if="${session.footUser.qx.text == '管理员'}">
                <div class="row-fluid">
                    <!--PAGE CONTENT BEGINS HERE-->
                    <div class="span12">
                        <div class="row-fluid">
                            <button class="btn btn-danger" type="button"
                                    onclick="deleteall('/foot/footYys/deleteall');"><em class="icon-remove-circle"></em>删除
                            </button>
                            <a class="btn" type="button" th:href="@{/index}"><em class="icon-arrow-left"></em>返回首页</a>
                        </div>
                        <table style="width:100%" border="0">
                            <tbody>
                            <tr>
                                <th style="width: 80px;">玩家名称:</th>
                                <td style="width: auto;"><input th:field="*{userName}" type="text" name="userName"
                                                                class="input_fix" placeholder="玩家名称"/></td>
                                <th style="width: 80px;">积分:</th>
                                <td style="width: auto;"><input th:field="*{jf}" type="text" name="jf" class="input_fix"
                                                                placeholder="积分"/></td>
                                <td style="width:120px;">
                                    <button class="btn btn-info" style="float: right;" type="button"
                                            onclick="pagechange(1);"><em class="icon-search"></em>查询
                                    </button>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                        <table id="table_bug_report" class="table table-hover">
                            <thead>
                            <tr>
                                <th class="center" style="width:60px;"><label><a
                                        onclick="selectAll(this)">全/不选</a></label></th>
                                <th>用户昵称</th>
                                <th style="width:80px;">胜次数</th>
                                <th style="width:80px;">平次数</th>
                                <th style="width:80px;">负次数</th>
                                <th style="width:80px;">胜率</th>
                                <th class="hidden-480" style="width:80px;">积分</th>
                                <th class="hidden-480" style="width:80px;">比赛场次</th>
                                <th class="hidden-480" style="width:80px;">信用度</th>
                                <th style="width:80px;">操作</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr th:each="t:${footYysList}">
                                <td class="center"><label><input type="checkbox" name="selectIds"
                                                                 th:value="${t.id}"/><span
                                        class="lbl">&nbsp;</span></label></td>
                                <td><a th:href="@{/foot/footYys/view(id=${t.id})}"> <img th:src="@{/images/vip.png}"
                                                                                         alt="" src=""
                                                                                         th:if="${t.vipType == '会员'}"/>
                                    <img th:src="@{/images/vip1.png}" alt="" src="" th:if="${t.vipType == 'VIP1'}"/>
                                    <img th:src="@{/images/vip2.png}" alt="" src="" th:if="${t.vipType == 'VIP2'}"/>
                                    <img th:src="@{/images/vip3.png}" alt="" src="" th:if="${t.vipType == 'VIP3'}"/>
                                    <span th:text="${t.userName}">123</span></a></td>
                                <td><a th:href="@{/foot/footYys/view(id=${t.id})}" th:text="${t.s}">123</a></td>
                                <td><a th:href="@{/foot/footYys/view(id=${t.id})}" th:text="${t.p}">123</a></td>
                                <td><a th:href="@{/foot/footYys/view(id=${t.id})}" th:text="${t.f}">123</a></td>
                                <td><a th:href="@{/foot/footYys/view(id=${t.id})}"
                                       th:text="${#numbers.formatPercent(t.sl, 1, 0)}">123</a></td>
                                <td class="hidden-480"><a th:href="@{/foot/footYys/view(id=${t.id})}" th:text="${t.jf}">123</a>
                                </td>
                                <td class="hidden-480"><a th:href="@{/foot/footYys/view(id=${t.id})}"
                                                          th:text="${t.bscc}">123</a></td>
                                <td class="hidden-480"><a th:href="@{/foot/footYys/view(id=${t.id})}"
                                                          th:text="${#numbers.formatDecimal(t.xyd, 0, 0)}">123</a></td>
                                <td>
                                    <div class="inline position-relative">
                                        <button class="btn btn-minier btn-primary dropdown-toggle"
                                                data-toggle="dropdown"><em class="icon-cog icon-only bigger-110"></em>
                                        </button>
                                        <ul class="dropdown-menu dropdown-icon-only dropdown-light pull-right dropdown-caret dropdown-close">
                                            <li><a th:href="@{/foot/footYys/edit(id=${t.id})}" class="tooltip-success"
                                                   data-rel="tooltip" title="修改" data-placement="left"> <span
                                                    class="green"><em class="icon-edit"></em></span></a></li>
                                            <li><a class="tooltip-error" data-rel="tooltip" title="删除"
                                                   data-placement="left"
                                                   th:onclick="'javascript:deleteById(\'/foot/footYys/delete?id=\', ' + ${t.id} + ')'">
                                                <span class="red"><em class="icon-remove"></em></span></a></li>
                                        </ul>
                                    </div>
                                </td>
                            </tr>
                            </tbody>
                            <tfoot>
                            <tr>
                                <td colspan="10">
                                    <div class="row-fluid" th:include="common/page :: page"></div>
                                </td>
                            </tr>
                            </tfoot>
                        </table>
                        <!--/#page-content-->
                    </div>
                    <!--/#page-content-->
                </div>
            </form>
        </div>
        <div th:replace="common/skin :: skin"></div>
    </div>
    <!--/#main-content-->
</div>
<!--/.fluid-container#main-container-->
<div th:replace="common/jsList"></div>
</body>
</html>